package com.tricode.ile.training.task.sl275.lab4;

public class FooBarBaz {

    public static void main(String[] args) {
        for (int i = 0; i <= 50; i++) {
            if (i % 3 == 0) {
                System.out.println("printing foo for the number: " + i);
            }
            if (i % 5 == 0) {
                System.out.println("print bar for the number: " + i);
            }
            if (i % 7 == 0) {
                System.out.println("printing baz for the number: " + i);
            }
        }
    }

}
